package order_algorithm_study;

import java.util.Scanner;

public class Mark_Count {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int i1 = sc.nextInt();
        int i2 = sc.nextInt();
        int i3 = sc.nextInt();
        System.out.println((int)((i1*0.2)+(i2*0.3)+(i3*0.5)));
    }
}
